#ifndef DEFINES_HPP
#define DEFINES_HPP

#define UNTAR_PATH "/tmp/pland/"

#define INSTANCE_TAG "<!--TAG:INSTANCE-->"
#define VERSION_TAG "<!--TAG:VERSION-->"
#define BODY_TAG  "<!--TAG:Main-->"
#define JS_TAG  "<!--TAG:HEADER_SCRIPT-->"

#define OVERVIEW_PAGE "<h3>Latency(ms)</h3><br><canvas id=\"latency_cnv\" width=\"400\" height=\"100\"></canvas> <br><br> <h3>Throughput(MB/s)</h3><br><canvas id=\"throughput_cnv\" width=\"400\" height=\"100\"></canvas><br><br><h3>Current Chain</h3><br><br><div class=\"cube\" id=\"graph\"></div><script src=\"/overview.js\"></div></script> "

#define RELOAD_BUTTON "<input type=\"button\" value=\"Reload Page\" onClick=\"document.location.reload(true)\">"
#define UPLOAD_FORM "<form  method=\"POST\" action=\"/upload\" enctype=\"multipart/form-data\"> <input type=\"file\" name=\"file\" /> <br/> <input type=\"submit\" value=\"Upload\"/></form>"
#define RUN_FORM "<form  method=\"POST\" action=\"/upload\" enctype=\"multipart/form-data\"> <input type=\"file\" name=\"file\" /> <br/> <input type=\"submit\" value=\"Upload\"/></form>"
#define ERROR_DIV "<h3>Something went wrong.<h/3><br> <p>Take a look at the log</p>"

#define LISTEN_FORM "<form action=\"/listen\">Start Transport <input type=\"submit\" value=\"Start Transport\"></form>"
#define START_FORM "<form action=\"/start\">Start the chain <input type=\"submit\" value=\"Sart\"></form>"
#define STOP_FORM "<form action=\"/stop\"> Stop the chain <input type=\"submit\" name = \"stop\"value=\"Stop\"></form>"
#define RESET_FORM "<form action=\"/reset\">Go back to step 1 <input type=\"submit\" value=\"Reset\"></form>"

#define REFRESH_PAGE "<html> <head> <title>Refreshing</title><meta http-equiv=\"REFRESH\" content=\"1;url=/run\"></HEAD><BODY> Thinking...</BODY> </HTML>"

#define CHAIN_FILE "chain.xml"
#define ROUTE_FILE "route.xml"
#define PIPC_FILE "pipc.xml"

#endif // DEFINES_HPP
